<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>确认退款</title>
		<link rel="stylesheet" href="$!rc.contextPath/common/common.css" />
		<link rel="stylesheet" type="text/css" href="$!rc.contextPath/css/myorder1.css" />
		<style>
			ul.confirm-delivery li.logistics ul li input{
				padding:0;
				margin-left:0.5rem;
			}
			.order-content{
				display: block !important;
			}
			.order-content>div{
				float:left;
			}
			ul.confirm-delivery .order-content-text {
			    /* width: 66%; */
			    margin-left:1rem;
			    margin-top: 7rem;
			}
		</style>
	</head>

	<body>
		<!--顶部-->
		<div class="title text-center">
			<a onClick="javascript:window.history.go(-1)"><</a>
			确认退款
		</div>
		<div class="content">
			<!--全部-->
			<ul class="block confirm-delivery drawback">
				<li style="width:100%;padding:0;">
					<!--店铺 订单已发货-->
					<ul class="order-store" style="margin-bottom:0.1rem;">
						<div class="order-title">
							<!--左边标题-->
							<a href="#" class="order-title-left">
								<span id="storeName"></span>
							</a>
							<!--右边提醒-->
							<div class="order-title-right">买家已付款</div>
						</div>
						<li>
							#foreach($sku in $!order.skuList)
							<div class="order-content clear" onclick="javascript:window.location.href='$!rc.contextPath/skuView/detail?skuId=$!sku.sku_id'">
								<div class="order-content-img">
									<img src="http://app.tmaipay.com/$!sku.attach_path" />
								</div>
								<div class="order-content-text">
									<p>$!sku.sku_name</p>
									<div>
										<p></p>
										<span class="order-price">x $!sku.sku_account</span>
									</div>
								</div>
							</div>
							#end
							<div class="order-total-price">
								<div></div>
								<div>
									<span>合计：</span><span style="color:#FF4D4D;font-size:1.3rem;"><span>¥</span><span class="total-price">$!order.order.realAmount</span></span>
									<!-- <span>（含运费￥<span class="order-freight">0.00</span>）</span> -->
								</div>
							</div>
						</li>
					</ul>
				</li>
				<li class="orderListDetail" style="background:#fff;">
					<ul>
						<li><span>退货原因：</span><label>多拍/拍错/不想要</label></li>
						<li><span>退款金额：</span><label>¥ $!order.order.realAmount</label></li>
						<li><span>申请时间：</span><label>2017-01-01 00:12:12</label></li>
						<li><span>退款编号：</span><label>54123225445552</label></li>
					</ul>
					<ul style="padding:0;">
						<li class="btn_confirm">
							<input type="button" value="确认" onclick="f_refund('$!order.order.orderId')" />
						</li>
					</ul>
				</li>
			</ul>
		</div>
		<script src="$!rc.contextPath/common/jquery-1.8.3.min.js"></script>
		<script type="text/javascript">
		$(function(){
			$("#storeName").html('参境39度（$!order.storeName）');
		})
		
		function f_refund(orderId){
			alert("确认退款成功！");
			location.reload();
		}
		</script>
	</body>
</html>